package com.mayikt.days08;

/**
 * @ClassName Test004
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public class Test004 {
    private static ThreadLocal threadLocal1 = new ThreadLocal<String>();
    private static ThreadLocal threadLocal2 = new ThreadLocal<String>();

    public static void main(String[] args) {
        threadLocal1.set("mayikt");
        threadLocal2.set("meite");
        Thread thread = Thread.currentThread();
        System.out.println("11");
//        threadLocal.set("mayikt");
//        threadLocal.remove();
//        threadLocal = null;
//
//        System.gc();
//        Thread thread = Thread.currentThread();
//        threadLocal.get();
    }
}
